import { Router } from "express"
import { authenticationMiddleware } from "../middleware/authentication.middleware"
import { router as authRouter } from "./auth.router"
import { router as userRouter } from "./user.router"
import { router as postRouter } from "./post.router"

export const router = Router()

router.use("/auth", authRouter)
router.use("/user", authenticationMiddleware, userRouter)
router.use("/post", authenticationMiddleware, postRouter)
